<!DOCTYPE html>
<html><head>
	<title>添加实施结果</title>
	<meta http-equiv="content-type" content="textml; charset=utf-8" />
	<meta name="description" content="__DESCRIPTION__">
	<meta name="keywords" content="__KEYWORDS__">
	<link href="__CSS__/common.css" rel="stylesheet" type="text/css">
	<link href="__CSS__/Version4Master.css" rel="stylesheet" type="text/css">
    <script src="__JS__/ga.js" async="" type="text/javascript"></script>
	<script src="__JS__/jquery-1.js" type="text/javascript"></script>
    <link href="__CSS__/thickbox.css" rel="stylesheet" type="text/css">
    <link href="__CSS__/Team/addproject.css" rel="stylesheet" type="text/css">
    <link href="__CSS__/setting.css" rel="stylesheet" type="text/css">
    <link href="__CSS__/account.css" rel="stylesheet" type="text/css">
    <script src="__JS__/thickbox.js" type="text/javascript"></script>
	<script src="__JS__/jquery-1.8.2.js" type="text/javascript"></script>
    <style type="text/css">
        .onError
        {
            background: #FFF2E9 url(__IMG__/onError.gif) no-repeat;
            padding-top: -4px;
            padding-left: 25px;
            font-size: 12px;
            line-height: 25px;
            vertical-align: text-top;
        }
        #files li
        {
            margin: 0 5px;
        }
    </style>
    <script type="text/javascript">
        var num = 11;
        function del(item, val) {
            $("#" + item).remove();
            $("#a" + item).remove();
            var files = $("#ctl00_ContentPlaceHolder1_FileInfo")[0].value;
            $("#ctl00_ContentPlaceHolder1_FileInfo")[0].value = files.replace(val, "");
            if ($("#attachs").children().length == 0) {
                $("#attachs").hide();
                $("#add").css("margin", "10px 0");
            }
        }
        function upLoadFormOnCompelete(name, link, fileName, fileSize) {
            $("#attachs").show();
            $("#add").css("margin", "0 0 0 75px");
            num++;
            $("#attachs").append("<li id=\"" + num + "\" name=\"" + link + "\" value=\"" + fileSize + "\">" + name + "<a style=\"margin-left:50px;\" id=\"a" + num + "\" href=\"javascript:del(" + num + ",'" + (link + "ncuhomelvfei" + fileName + "ncuhomelvfei" + fileSize + "ncuhomeasdlx") + "')\">删除</a></li>");
            $("#ctl00_ContentPlaceHolder1_FileInfo")[0].value += (link + "ncuhomelvfei" + name+"ncuhomelvfei"+ fileName + "ncuhomelvfei" + fileSize + "ncuhomeasdlx");
        }
    </script>
</head>
<body>
    <form name="aspnetForm" method="post" action="ProjectWork.aspx" onsubmit="javascript:return WebForm_OnSubmit();" id="aspnetForm">

	<script type="text/javascript">
		//<![CDATA[
		var theForm = document.forms['aspnetForm'];
		if (!theForm) {
			theForm = document.aspnetForm;
		}
		function __doPostBack(eventTarget, eventArgument) {
			if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
				theForm.__EVENTTARGET.value = eventTarget;
				theForm.__EVENTARGUMENT.value = eventArgument;
				theForm.submit();
			}
		}
		//]]>
	</script>
<script src="__JS__/WebResource.js" type="text/javascript"></script>


<script src="__JS__/WebResource_002.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function WebForm_OnSubmit() {
if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false;
return true;
}
//]]>
</script>
    <div id="container">
        <!--header文件 start -->
        <include file="./Match/Tpl/Include/header.html" />
        <!--header文件 stop -->
        <div class="clear">
        </div>
        
    <div id="container_content">
        <div class="topic_nav_block_wrapper">
            <ul class="topic_nav_block">
                <li><a  class="current_nav" href="__URL__/showMatch/{$Think.get.id}">选择商业问题</a> </li>
                <li><a href="__URL__/modProject/{$Think.get.id}">方案展示</a></li>
                <li><a href="__URL__/modTheme/{$Think.get.id}">参赛主题</a> </li>
                <li><a href="__URL__/ChoiceEx/{$Think.get.id}">详细方案</a> </li>
                <li><a href="__URL__/addWorks/{$Think.get.id}">实践作品展示</a></li>
                <li style=" float:right;"><a class="teamnav" href="__APP__/Team/Home/index">返回团队主页</a></li>
            </ul>
            <div class="clear">
            </div>
        </div>
        <div id="editorHolder">
            <div class="edit_item">
                <label class="legend"> 作品名称：</label>
                <input name="ctl00$ContentPlaceHolder1$txtTitle" id="ctl00_ContentPlaceHolder1_txtTitle" class="inupt_text" type="text">
                <span id="ctl00_ContentPlaceHolder1_RequiredFieldValidator2" class="onError" style="color: Red; visibility: visible;">必填项</span>
            </div>
            <div class="edit_item">
                <label class="legend"> 工具平台：</label>
                <input value="" name="ctl00$ContentPlaceHolder1$txtPlatforms" id="ctl00_ContentPlaceHolder1_txtPlatforms" class="inupt_text" type="text">
                <span id="ctl00_ContentPlaceHolder1_txtSummaryTip"></span>
            </div>
            <div class="edit_item">
                <label class="legend"> 作品链接：</label>
                <input value="" name="ctl00$ContentPlaceHolder1$txtUrl" id="ctl00_ContentPlaceHolder1_txtUrl" class="inupt_text" type="text">
                <span id="ctl00_ContentPlaceHolder1_RegularExpressionValidator4" class="onError" style="color: Red; visibility: visible;">地址格式错误</span>
				<br><label class="onShow"><span style="color:#123456">请在网址前面添加http://;如：http://www.taobao.com</span></label>
            </div>
            <div class="edit_item">
                <label class="legend"> 作品描述：</label>
                <textarea name="ctl00$ContentPlaceHolder1$txtSummary" rows="6" cols="20" id="ctl00_ContentPlaceHolder1_txtSummary" class="text_area"></textarea>
                <span id="ctl00_ContentPlaceHolder1_RequiredFieldValidator1" class="onError" style="color:Red;visibility:hidden;">必填项</span>
            </div>
            <div class="edit_item">
                <label class="legend"> 作品访问量</label>
                <input name="ctl00$ContentPlaceHolder1$txtVisitCount" value="0" maxlength="6" id="ctl00_ContentPlaceHolder1_txtVisitCount" class="inupt_text" style="width:100px;" type="text">
                <span id="ctl00_ContentPlaceHolder1_RequiredFieldValidator4" class="onError" style="color:Red;visibility:hidden;">必填项</span>
                <span id="ctl00_ContentPlaceHolder1_RegularExpressionValidator1" class="onError" style="color:Red;display:none;">必须为数字</span>
                <label class="legend" style="margin-left: 50px;"> 作品评论数</label><input name="ctl00$ContentPlaceHolder1$txtReplyCount" value="0" maxlength="6" id="ctl00_ContentPlaceHolder1_txtReplyCount" class="inupt_text" style="width:100px;" type="text">
                <span id="ctl00_ContentPlaceHolder1_RequiredFieldValidator3" class=" onError" style="color:Red;display:none;">必填项</span>
                <span id="ctl00_ContentPlaceHolder1_RegularExpressionValidator2" class="onError" style="color:Red;display:none;">必须为数字</span>
                <p>
                    <label class="legend"> 其他数据：</label><input value="" name="ctl00$ContentPlaceHolder1$txtOtherInfo" id="ctl00_ContentPlaceHolder1_txtOtherInfo" class="inupt_text" style="width:400px;" type="text"><label class="onShow">此项选填，格式（收藏数：45；购买量：50），不同项之间用“；”隔开</label>
                </p>
                <label class="onShow"> 说明：作品量化数据有队长根据实际情况填写或修改。希望大家如实填写，如发现作假，则参赛成绩会被取消~~</label>
            </div>
            <div class="edit_item">
                <label class="legend"> 业绩及附件</label>
                <ul id="attachs" style="margin-left: 70px; display: none; min-height: 60px; width: 590px;
                    margin-top: -20px; padding: 5px; border: solid #ddd 1px; background: none repeat scroll 0 0 #FCFAD4;">
                </ul>
                <span ajaxaction="UpLoadAttachFiles" title="添加附件"  id="add" style="cursor:pointer"> 添加附件</span>
				<input type="hidden" size="100" name="toupfile" id="upfileval" value=""/>
                        
                        <div style="margin-left: 78px;">
                            <fieldset>
                                <legend>业绩及其附件</legend>
                                <ul>
                                    <li><span id="toupfile" ></span></li>
                                </ul>
                            </fieldset>
                            
                        </div>
            </div>
            <div class="clear">
            </div>
        </div>
        <div id="operate">
            <input name="ctl00$ContentPlaceHolder1$publish" value="添加" onclick='javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$ContentPlaceHolder1$publish", "", true, "", "", false, false))' id="ctl00_ContentPlaceHolder1_publish" class="input-button" type="submit">
            <input class="input-button gray" onclick="javascript:window.location='WorkManager.aspx?projectid=4657'" value="返回" type="button">
               
        </div>
    </div>

        <div class="clear">
        </div>
        <!--footer文件 start -->
        <include file="./Match/Tpl/Include/footer.html" />
        <!--footer文件 end -->
	</div>

			<script type="text/javascript">
			//<![CDATA[
			var Page_Validators =  new Array(document.getElementById("ctl00_ContentPlaceHolder1_RequiredFieldValidator2"), document.getElementById("ctl00_ContentPlaceHolder1_RegularExpressionValidator4"), document.getElementById("ctl00_ContentPlaceHolder1_RequiredFieldValidator1"), document.getElementById("ctl00_ContentPlaceHolder1_RequiredFieldValidator4"), document.getElementById("ctl00_ContentPlaceHolder1_RegularExpressionValidator1"), document.getElementById("ctl00_ContentPlaceHolder1_RequiredFieldValidator3"), document.getElementById("ctl00_ContentPlaceHolder1_RegularExpressionValidator2"));
			//]]>
			</script>

			<script type="text/javascript">
				//<![CDATA[
				var ctl00_ContentPlaceHolder1_RequiredFieldValidator2 = document.all ? document.all["ctl00_ContentPlaceHolder1_RequiredFieldValidator2"] : document.getElementById("ctl00_ContentPlaceHolder1_RequiredFieldValidator2");
				ctl00_ContentPlaceHolder1_RequiredFieldValidator2.controltovalidate = "ctl00_ContentPlaceHolder1_txtTitle";
				ctl00_ContentPlaceHolder1_RequiredFieldValidator2.errormessage = "必填项";
				ctl00_ContentPlaceHolder1_RequiredFieldValidator2.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";
				ctl00_ContentPlaceHolder1_RequiredFieldValidator2.initialvalue = "";
				var ctl00_ContentPlaceHolder1_RegularExpressionValidator4 = document.all ? document.all["ctl00_ContentPlaceHolder1_RegularExpressionValidator4"] : document.getElementById("ctl00_ContentPlaceHolder1_RegularExpressionValidator4");
				ctl00_ContentPlaceHolder1_RegularExpressionValidator4.controltovalidate = "ctl00_ContentPlaceHolder1_txtUrl";
				ctl00_ContentPlaceHolder1_RegularExpressionValidator4.errormessage = "地址格式错误";
				ctl00_ContentPlaceHolder1_RegularExpressionValidator4.evaluationfunction = "RegularExpressionValidatorEvaluateIsValid";
				ctl00_ContentPlaceHolder1_RegularExpressionValidator4.validationexpression = "http(s)?://([\\w-]+\\.)+[\\w-]+(/[\\w- ./?%&=]*)?";
				var ctl00_ContentPlaceHolder1_RequiredFieldValidator1 = document.all ? document.all["ctl00_ContentPlaceHolder1_RequiredFieldValidator1"] : document.getElementById("ctl00_ContentPlaceHolder1_RequiredFieldValidator1");
				ctl00_ContentPlaceHolder1_RequiredFieldValidator1.controltovalidate = "ctl00_ContentPlaceHolder1_txtSummary";
				ctl00_ContentPlaceHolder1_RequiredFieldValidator1.errormessage = "必填项";
				ctl00_ContentPlaceHolder1_RequiredFieldValidator1.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";
				ctl00_ContentPlaceHolder1_RequiredFieldValidator1.initialvalue = "";
				var ctl00_ContentPlaceHolder1_RequiredFieldValidator4 = document.all ? document.all["ctl00_ContentPlaceHolder1_RequiredFieldValidator4"] : document.getElementById("ctl00_ContentPlaceHolder1_RequiredFieldValidator4");
				ctl00_ContentPlaceHolder1_RequiredFieldValidator4.controltovalidate = "ctl00_ContentPlaceHolder1_txtVisitCount";
				ctl00_ContentPlaceHolder1_RequiredFieldValidator4.errormessage = "必填项";
				ctl00_ContentPlaceHolder1_RequiredFieldValidator4.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";
				ctl00_ContentPlaceHolder1_RequiredFieldValidator4.initialvalue = "";
				var ctl00_ContentPlaceHolder1_RegularExpressionValidator1 = document.all ? document.all["ctl00_ContentPlaceHolder1_RegularExpressionValidator1"] : document.getElementById("ctl00_ContentPlaceHolder1_RegularExpressionValidator1");
				ctl00_ContentPlaceHolder1_RegularExpressionValidator1.controltovalidate = "ctl00_ContentPlaceHolder1_txtVisitCount";
				ctl00_ContentPlaceHolder1_RegularExpressionValidator1.errormessage = "必须为数字";
				ctl00_ContentPlaceHolder1_RegularExpressionValidator1.display = "Dynamic";
				ctl00_ContentPlaceHolder1_RegularExpressionValidator1.evaluationfunction = "RegularExpressionValidatorEvaluateIsValid";
				ctl00_ContentPlaceHolder1_RegularExpressionValidator1.validationexpression = "^\\d+$";
				var ctl00_ContentPlaceHolder1_RequiredFieldValidator3 = document.all ? document.all["ctl00_ContentPlaceHolder1_RequiredFieldValidator3"] : document.getElementById("ctl00_ContentPlaceHolder1_RequiredFieldValidator3");
				ctl00_ContentPlaceHolder1_RequiredFieldValidator3.controltovalidate = "ctl00_ContentPlaceHolder1_txtReplyCount";
				ctl00_ContentPlaceHolder1_RequiredFieldValidator3.errormessage = "必填项";
				ctl00_ContentPlaceHolder1_RequiredFieldValidator3.display = "Dynamic";
				ctl00_ContentPlaceHolder1_RequiredFieldValidator3.evaluationfunction = "RequiredFieldValidatorEvaluateIsValid";
				ctl00_ContentPlaceHolder1_RequiredFieldValidator3.initialvalue = "";
				var ctl00_ContentPlaceHolder1_RegularExpressionValidator2 = document.all ? document.all["ctl00_ContentPlaceHolder1_RegularExpressionValidator2"] : document.getElementById("ctl00_ContentPlaceHolder1_RegularExpressionValidator2");
				ctl00_ContentPlaceHolder1_RegularExpressionValidator2.controltovalidate = "ctl00_ContentPlaceHolder1_txtReplyCount";
				ctl00_ContentPlaceHolder1_RegularExpressionValidator2.errormessage = "必须为数字";
				ctl00_ContentPlaceHolder1_RegularExpressionValidator2.display = "Dynamic";
				ctl00_ContentPlaceHolder1_RegularExpressionValidator2.evaluationfunction = "RegularExpressionValidatorEvaluateIsValid";
				ctl00_ContentPlaceHolder1_RegularExpressionValidator2.validationexpression = "^\\d+$";
				//]]>
			</script>


			<script type="text/javascript">
				//<![CDATA[
				var Page_ValidationActive = false;
				if (typeof(ValidatorOnLoad) == "function") {
					ValidatorOnLoad();
				}
				function ValidatorOnSubmit() {
					if (Page_ValidationActive) {
						return ValidatorCommonOnSubmit();
					}
					else {
						return true;
					}
				}
				//]]>
			</script>
		</form>
		<include file="./Match/Tpl/Include/ajaxloadhtml.html" />
	</body>
</html>
<script type="text/javascript">
	var funnum=0;
	function uploadCallBack(filename){
		if(filename==false){
			alert("文件上传失败");
		}else{
			document.getElementById("toupfile").innerHTML+='<a href="__UPFILE__/Doc/'+filename+'" target="_blank">'+filename+'</a>;';
			document.getElementById("upres").innerHTML='文件'+filename+'上传完毕。<br />';
			document.getElementById("upfileval").value+=' '+filename+'; ';
			
			funnum++;
			if(funnum>=3){
				document.getElementById("add").parentNode.removeChild(document.getElementById("add"));
				document.getElementById("ajaxloadhtml").parentNode.removeChild(document.getElementById("ajaxloadhtml"));
			}
		}
	}
</script>